class CreateIncomes < ActiveRecord::Migration
  def change
    create_table :incomes do |t|

      t.string   :source,       null: false, default: ""
      t.integer  :amount,       null: false, default: 0
      t.string   :description
      t.string   :category
      t.string   :avatar

      t.timestamps null: false
    end
  end
end
